package cc.codeshop.aidlserver;

import android.app.Activity;
import android.content.ComponentName;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.Bundle;
import android.os.IBinder;
import android.os.RemoteException;
import android.util.Log;
import android.view.View;
import cc.codeshop.aidlserver.ICallback;
import cc.codeshop.aidlserver.ILogicInterface;
import cc.codeshop.aidlserver.Person;

public class MainActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
	}

	public void testStartService(View view) {
		Intent intent = new Intent(this, RemoteService.class);
		startService(intent);
	}

	public void testStopService(View view) {
		Intent intent = new Intent(this, RemoteService.class);
		stopService(intent);
	}

}
